{extend name="template/base" /}
{block name="content"}
<div class="page-container">
	    <div class="cl pd-5 bg-1 bk-gray">
	        <span class="l">
	            <a class="btn btn-primary radius mr-5" href="javascript:;" onclick=""><i class="Hui-iconfont">&#xe600;</i> 添加</a>
	        </span>
	        <span class="r pt-5 pr-5">
	            共有数据 ：<strong>5</strong> 条
	        </span>
	    </div>
	<form class="form form-horizontal" id="form" method="post" action="{:\\think\\Url::build(\'grade_save\')}">
	    <table class="table table-border table-bordered table-hover table-bg mt-20">
	        <thead>
	        <tr class="text-c">
	            {include file="goods/goods_brand/th_grade" /}
	        </tr>
	        </thead>
	        <tbody>
	        {foreach name='grade' key='key' item='val'}
	        <tr class="text-c">
	            {include file="goods/goods_brand/td_grade" /}
	            <td class="f-14">
	                <a title="删除" href="javascript:;" onclick="layer_open('会员通知', 'dd'" style="text-decoration:none" class="label label-error radius">删除</a>
	            </td>
	        </tr>
	        {/foreach}
	        </tbody>
	    </table>
	    <div class="row mt-20 text-c cl">
	      <div class="col-9 col-offset-2">
	        <input class="btn btn-success radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
	      </div>
	    </div>  
	</form>
</div>
{/block}
{block name="script"}
<script type="text/javascript" src="__LIB__/Validform/5.3.2/Validform.min.js"></script>
<script>
	$("#form").Validform({
	    tiptype:2,
	    ajaxPost:true,
	    showAllError:true,
	    callback:function(ret){
	        ajax_progress(ret);
	    }
	});
</script>
{/block}